package com.ruoyi.commoditytype.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品分类对象 sys_commodity_type
 * 
 * @author zzx
 * @date 2022-06-07
 */
public class SysCommodityType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long commodityTypeId;

    /** 分类名称 */
    @Excel(name = "分类名称")
    private String commodityTypeName;

    /** 分类描述 */
    @Excel(name = "分类描述")
    private String commodityTypeInfo;

    public void setCommodityTypeId(Long commodityTypeId) 
    {
        this.commodityTypeId = commodityTypeId;
    }

    public Long getCommodityTypeId() 
    {
        return commodityTypeId;
    }
    public void setCommodityTypeName(String commodityTypeName) 
    {
        this.commodityTypeName = commodityTypeName;
    }

    public String getCommodityTypeName() 
    {
        return commodityTypeName;
    }
    public void setCommodityTypeInfo(String commodityTypeInfo) 
    {
        this.commodityTypeInfo = commodityTypeInfo;
    }

    public String getCommodityTypeInfo() 
    {
        return commodityTypeInfo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("commodityTypeId", getCommodityTypeId())
            .append("commodityTypeName", getCommodityTypeName())
            .append("commodityTypeInfo", getCommodityTypeInfo())
            .toString();
    }
}
